package com.enjoyor.health.HGPT.core.service;

import com.enjoyor.health.HGPT.core.dto.ReportUserDto;
import com.enjoyor.health.HGPT.core.entity.ReportRecord;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author enjoyor
 * @since 2023-10-18
 */
public interface IReportRecordService extends IService<ReportRecord> {

    List<ReportRecord> getReportRecordByOpenId(String openId, String version, Integer packageType);

    ReportRecord getReportRecordByOpenId(String openId);

    ReportRecord getRobotReportRecordByOpenId(String openId, String version, Integer type);

    ReportUserDto getReportByUser(String openId, String version, Integer packageType);

    ReportUserDto getReportByUser(String openId, String version);

    ReportRecord getLatestVersion(String openId);

    ReportRecord getLatestVersionByType(String openId, Integer reportType);

}
